package com.hai.udp;

import java.io.Serializable;

public class Cat implements Serializable {
    public String name;
    public int leng;

    public Cat(String name, int leng) {
        this.name = name;
        this.leng = leng;
    }

    @Override
    public String toString() {
        return "Cat{" +
                "name='" + name + '\'' +
                ", leng=" + leng +
                '}';
    }
}
